package com.houtai.bean.dto.avtivity;

import com.houtai.base.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
@ApiModel(value="活动列表所需参数", description="活动列表所需参数")
public class TdActivityListDto extends Page {
    @NotNull(message = "活动类型1不能为空")
    @ApiModelProperty(value="活动类型1线上活动2线下活动3创意大赛", name="activity_type")
    private int activity_type;

    @NotNull(message = "是否最新活动不能为空")
    @ApiModelProperty(value="是否最新活动 0是1否  0时类型失效", name="is_new")
    private int is_new;

    @NotNull(message = "活动名称不能为空")
    @ApiModelProperty(value="活动名称 可为空字符串", name="activity_name")
    private String activity_name;

    public int getActivity_type() {
        return activity_type;
    }

    public void setActivity_type(int activity_type) {
        this.activity_type = activity_type;
    }

    public int getIs_new() {
        return is_new;
    }

    public void setIs_new(int is_new) {
        this.is_new = is_new;
    }

    public String getActivity_name() {
        return activity_name;
    }

    public void setActivity_name(String activity_name) {
        this.activity_name = activity_name;
    }
}
